#pragma once
#include "stdafx.h"
#include "Task.h"

namespace PluginSDK {
	CBackgroundTask::CBackgroundTask(_bstr_t name) {
		m_name = name;
	}
	HRESULT CBackgroundTask::raw_RunTask()
	{
		return S_OK;
	}
	HRESULT CBackgroundTask::raw_FinalizeTask()
	{
		return E_NOTIMPL;
	}
	HRESULT CBackgroundTask::raw_FreeTask()
	{
		return E_NOTIMPL;
	}
	HRESULT CBackgroundTask::raw_QuitTask()
	{
		return E_NOTIMPL;
	}
	HRESULT CBackgroundTask::get_Name(BSTR * pVal)
	{
		*pVal = SysAllocString(m_name);
		return S_OK;
	}
}
